package com.yanyan.sannuomin.service.impl;

import com.yanyan.sannuomin.dao.RoleMapper;
import com.yanyan.sannuomin.service.RoleService;
import com.yanyan.sannuomin.vo.RoleVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {
    @Resource
    private RoleMapper roleMapper;

    @Override
    public List<RoleVo> findRole() {

        return roleMapper.findRole();
    }
}
